package com.swanclouds.redfish.event.domain;

import com.fasterxml.jackson.annotation.JsonRootName;
import com.swanclouds.model.ModelEntity;

/**
 * Author:      HuangFuYuHui
 * Title:       ServiceEnabled
 * Description: 事件上报开关状态
 * Date:        2022/8/8 18:42
 */
@JsonRootName("ServiceEnabled")
public enum ServiceEnabled implements ModelEntity {

    TRUE(true,"上电"),
    FALSE(false,"下电");

    private Boolean value;
    private String description;

    ServiceEnabled(Boolean value,String description) {
        this.value = value;
        this.description = description;
    }
}

